package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.po.Notice;
import com.huilian.iotbox.data.vo.NoticeVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeDao {
    int deleteById(Integer id);

    int update(Notice announcement);

    int insert(Notice announcement);

    List<NoticeVo> findAllByKeyword(Notice announcement);
}
